﻿using MyCode.Project.Domain.Message.Request.Report2301;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Request.Report40
{
   public class ManagerReport2308Query
    {
        /// <summary>
        /// 是否全选店铺  0=否; 1=是
        /// </summary>
        public int IfAllShop { get; set; }

        /// <summary>
        /// 查询店铺数组 
        /// </summary>
        public List<Guid> ShopIds { get; set; }

        /// <summary>
        /// 查询时间类型  1=今天 2=自然月 
        /// </summary>
        public int SearchType { get; set; }

        /// <summary>
        /// 自然月选择的年-月  2022-08
        /// </summary>
        public string YearMonth { get; set; }

        /// <summary>
        /// 组织ID 非区域人员跳转页面传 -1
        /// </summary>
        public Guid? OrganizationId { get; set; }

        /// <summary>
        /// 查询类型  0=区域总览 1=主要店铺 2=指定店铺
        /// </summary>
        public int QuYu { get; set; }

        /// <summary>
        /// 用户ID，如果不传就是登录ID
        /// </summary>
        public Guid? UserId { get; set; }

    }


    public class ChiXuShiYongTianShuQuery: ManagerReport2308Query
    {
        /// <summary>
        /// 使用天数
        /// </summary>
        public int? Days { get; set; }

        /// <summary>
        /// 收款金额 起
        /// </summary>
        public decimal? MoneyBegin { get; set; }

        /// <summary>
        /// 收款金额 止
        /// </summary>
        public decimal? MoneyEnd { get; set; }


        /// <summary>
        /// 标签数组 ,NULL 是没有选择该条件
        /// </summary>
        public ShopLabelSearch LabelQuery { get; set; }

    }

    public class QuYu2308Query : ManagerReport2308Query
    {
        /// <summary>
        /// 查询类型  0=区域总览 1=主要店铺 2=指定店铺
        /// </summary>
        public int QuYu { get; set; }

        /// <summary>
        /// 使用天数
        /// </summary>
        public int? Days { get; set; }

        /// <summary>
        /// 收款金额 起
        /// </summary>
        public decimal? MoneyBegin { get; set; }

        /// <summary>
        /// 收款金额 止
        /// </summary>
        public decimal? MoneyEnd { get; set; }

        /// <summary>
        /// 标签数组 ,NULL 是没有选择该条件
        /// </summary>
        public ShopLabelSearch LabelQuery { get; set; }

    }

    public class GetUserOrganizationTrees
    {
        /// <summary>
        /// 组织ID，初始本人传"-1"
        /// </summary>
        public string OrganizationId { get; set; }

        /// <summary>
        /// 用户ID，如果不传就是登录ID
        /// </summary>
        public Guid? UserId { get; set; }

    }
}
